#pragma once
#include <mutex>
#include "ring.h"

//---------------------------------------------------------------------------
class correctness_test
{
public:
	correctness_test(void);
	virtual ~correctness_test(){}

	void go(void);

private:
	static void static_threads_func(correctness_test* instance);
	void threads_func();

private:
	int			_loops = 10000;
	DWORD		_sleeping_thread_id = 0;
	std::mutex	_lock;
	ring		_ring;
};
//---------------------------------------------------------------------------